package com.hongdee.scm.warningsetup.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TScmWarning
 * 类  型:class
 * 描  述:
 * 路  径:com.hongdee.scm.warningsetup.entity
 * 作  者: 术洪超
 * 日  期:2017-06-11 14:14
 */
@Entity
@Table(name = "T_SCM_WARNING_SETUP")
public class TScmWarningSetUp extends BaseEntity {

    //级别类型  0品牌 1车系 2车型
    @Column(name = "level_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '级别类型'")
    private String levelType;

    //级别ID
    @Column(name = "level_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '级别ID'")
    private String levelId;

    //预警类型
    @Column(name = "warning_type", length = 1, columnDefinition = "VARCHAR(1) COMMENT '预警类型'")
    private String warningType;


    //预警类型
    @Column(name = "start_Date_Key", length = 32, columnDefinition = "VARCHAR(32) COMMENT '计算起始日期字段'")
    private String startDateKey;

    //预警数
    @Column(name = "warning_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '预警数'")
    private String warningNum;

    //公司ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    public String getLevelType() {
        return levelType;
    }

    public void setLevelType(String levelType) {
        this.levelType = levelType;
    }

    public String getLevelId() {
        return levelId;
    }

    public void setLevelId(String levelId) {
        this.levelId = levelId;
    }

    public String getWarningType() {
        return warningType;
    }

    public void setWarningType(String warningType) {
        this.warningType = warningType;
    }

    public String getWarningNum() {
        return warningNum;
    }

    public void setWarningNum(String warningNum) {
        this.warningNum = warningNum;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getStartDateKey() {
        return startDateKey;
    }

    public void setStartDateKey(String startDateKey) {
        this.startDateKey = startDateKey;
    }
}
